<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 200px; height: 60px; margin: 100px auto;
            line-height: 60px;
            text-align: center;
            font-size: 30px;
            border-radius: 5px;
            background-color: #ccc;
            cursor: pointer;
            box-shadow: 0 0 5px 2px #333;
            color: #fff;

            transition-timing-function: ease-in-out;
            transition-duration: .2s;
            transition-property: all;

            user-select: none;

            /* transition: 1s all ease; */

            /* transition-timing-function: ease-in-out;
            transition-duration: 1s;
            transition-property: width;
            transition-delay: 0.2s; */

            /* animation: test 1s ease 1; */
            /* 动画执行的方向 */
            /* animation-direction:normal; */
            /* 动画执行的时间曲线 */
            /* animation-timing-function: ease-in-out;
            animation-iteration-count: 10;
            animation-direction: alternate-reverse; */
            /* animation-direction: reverse; */
            /* animation-play-state: paused; */
            /* animation-delay: 3s; */
            /* animation-fill-mode:forwards; */
            /* animation-fill-mode:forwards;
            position: relative; */
        }
        .box:active{
            /* animation-play-state: paused; */
            /* width: 300px; */
            
            box-shadow: 2px 2px 8px 5px #333;
        }
        @keyframes test {
            0%{
                /* background-color: red; */
                left: 0;
            }
            100% {
                /* background-color: yellow; */
                left: 500px;
            }
        }
    </style>
</head>
<body>
    <div class="box">Button</div>
</body>
</html>
